package com.hmkj.core.po.order;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 模拟关联实盘策略表实体信息<br>
 *
 * @author eproo
 * @date   2017-11-24 11:58:31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "模拟关联实盘策略表")
@Table(name = "biz_order_relation")
public class OrderRelation extends GenericPo<Integer> {

    public static final String TABLE_NAME = "biz_order_relation";

	
	/**模拟策略id**/
	@ApiModelProperty(value = "模拟策略id")
	private Integer simId;
	/**实盘策略订单号**/
	@ApiModelProperty(value = "实盘策略订单号")
	private String realOrderNo;

    public OrderRelation(){}

    public OrderRelation(Consumer<OrderRelation> consumer){
    consumer.accept(this);
    }
}

